let reg=/[a-zA-Z]/
var str='beautiful 女孩！'
let username1='myName'
let username2='?.youname=zs'
console.log(reg.test(username1));
console.log(reg.test(username2));
console.log(str.match(/[^a-z]/g));